package org.jeecg.modules.power.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.power.user.entity.YlMember;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 会员订单表
 * @Author: jeecg-boot
 * @Date:   2024-07-13
 * @Version: V1.0
 */
@Data
@TableName("yl_member_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_member_order对象", description="会员订单表")
public class YlMemberOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**会员卡id*/
	@Excel(name = "会员卡id", width = 15)
    @ApiModelProperty(value = "会员卡id")
    private String memberId;
	/**支付单号*/
	@Excel(name = "支付单号", width = 15)
    @ApiModelProperty(value = "支付单号")
    private String payNumber;
	/**会员卡名称*/
	@Excel(name = "会员卡名称", width = 15)
    @ApiModelProperty(value = "会员卡名称")
    private String name;
	/**支付价格*/
	@Excel(name = "支付价格", width = 15)
    @ApiModelProperty(value = "支付价格")
    private BigDecimal payPrice;
	/**支付状态（0未支付，1已支付）*/
	@Excel(name = "支付状态（0未支付，1已支付）", width = 15)
    @ApiModelProperty(value = "支付状态（0未支付，1已支付）")
    private Integer payStatus;
	/**月季类型 1 月卡 2季卡 3年卡(对应字典 member_type) */
	@Excel(name = "月季类型 1 月卡 2季卡 3年卡(对应字典 member_type) ", width = 15, dicCode = "member_type")
	@Dict(dicCode = "member_type")
    @ApiModelProperty(value = "月季类型 1 月卡 2季卡 3年卡(对应字典 member_type) ")
    private Integer type;
	/**会员有效期 1个月 3个月 12个月*/
	@Excel(name = "会员有效期 1个月 3个月 12个月", width = 15)
    @ApiModelProperty(value = "会员有效期 1个月 3个月 12个月")
    private Integer month;
	/**会员免费时长（小时）*/
	@Excel(name = "会员免费时长（小时）", width = 15)
    @ApiModelProperty(value = "会员免费时长（小时）")
    private Integer freeDuration;
	/**支付方式1、微信支付 2、支付宝支付*/
	@Excel(name = "支付方式1、微信支付 2、支付宝支付", width = 15)
    @ApiModelProperty(value = "支付方式1、微信支付 2、支付宝支付")
    private Integer payMethod;
	/**支付时间*/
	@Excel(name = "支付时间", width = 15)
    @ApiModelProperty(value = "支付时间")
    private Date payTime;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "店铺id")
    private String shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "设备mac")
    private String deviceMac;

    @ApiModelProperty(value = "手机号")
    private String tel;






    @ApiModelProperty(value = "业务员id")
    private String bdId;
    @ApiModelProperty(value = "业务员姓名")
    private String bdName;
    @ApiModelProperty(value = "小组id")
    private String groupId;
    @ApiModelProperty(value = "小组id")
    private String groupName;
}
